<ion-header>
  <ion-toolbar class="toolbar-head">
    <ion-buttons slot="start" mode='ios'>
      <ion-back-button text=""></ion-back-button>
    </ion-buttons>
    <ion-title>Add a new address</ion-title>
    <ion-label slot="end" style="color: white; margin-right: 5px;" (click)="submit()">Save</ion-label>
  </ion-toolbar>
</ion-header>
<ion-content>
  <ion-item lines='full' (click)="updataState()">
    <!-- <ion-label style="color: #999999;">国家</ion-label> -->
    <ion-label >{{state}}</ion-label>
    <img style="height: 15px;margin-right: 10px;" src="../../../../assets/img/right.png" alt="">
    <!-- <ion-input type="text" placeholder="请填写收货人姓名" [(ngModel)]="name"></ion-input> -->
  </ion-item>

  <ion-item lines='full'>
    <!-- <ion-label>收货人</ion-label> -->
    <ion-input type="text" placeholder="Full name" [(ngModel)]="name"></ion-input>
  </ion-item>


  <ion-item lines='full'>
    <!-- <ion-label>收货人</ion-label> -->
    <ion-input type="text" placeholder="Street and number, RO. box, do." [(ngModel)]="street"></ion-input>
  </ion-item>


  <ion-item lines='full'>
    <!-- <ion-label>收货人</ion-label> -->
    <ion-input type="text" placeholder="Apartment, suite, unit, building, floor, etc." [(ngModel)]="house"></ion-input>
  </ion-item>


  <ion-item lines='full'>
    <!-- <ion-label>收货人</ion-label> -->
    <ion-input type="text" placeholder="City" [(ngModel)]="city"></ion-input>
  </ion-item>


  <ion-item lines='full'>
    <!-- <ion-label>收货人</ion-label> -->
    <ion-input type="text" placeholder="State / Province / Region" [(ngModel)]="province"></ion-input>
  </ion-item>



  <ion-item lines='full'>
    <!-- <ion-label>收货人</ion-label> -->
    <ion-input type="email" placeholder="ZIP Code" [(ngModel)]="mailbox"></ion-input>
  </ion-item>


  <ion-item lines='full'>
    <ion-input type="tel" placeholder="Phone Number" [(ngModel)]="phone"></ion-input>
  </ion-item>


  <ion-item lines='none'  style="margin-top: 5px;">
    <ion-label slot="start">Set as the default address</ion-label>
    <ion-toggle class="bg-toggle" slot="end" mode='ios'  [(ngModel)]="isDefault"></ion-toggle>
  </ion-item>


  <!-- <ion-item lines='full'>
    <ion-label>详细地址</ion-label>
    <ion-input type="text" placeholder="如街道、小区、门牌号、单元室等..." [(ngModel)]="addressDetail"></ion-input>
  </ion-item> -->

  <!-- <ion-item lines='full' style="margin-top: 5px;" (click)="btnDel()" *ngIf="editType==1?true:false">
    <ion-label>删除收货地址</ion-label>
  </ion-item> -->


  <ion-item lines='full' style="margin-top: 5px;" (click)="btnDel()" *ngIf="editType==1?true:false">
    <ion-label>Delete shipping address    </ion-label>
  </ion-item>



</ion-content>